package com.gitee.huxing.course.config.exception;

/**
 * @Description:
 * @ProjectName: JavaCourse
 * @Package: com.gitee.huxing.course.config.exception
 * @ClassName: ServiceException
 * @Author: huxing
 * @DateTime: 2021-10-26 下午3:47
 */
public class ServiceException extends RuntimeException{

    private static final long serialVersionUID = 4573255157477494176L;

    /** 错误消息提示 **/
    private String message;

    public ServiceException(String message){
        super();
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
